home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwlt23.dir / 00023_Script_23 < prev    next >
Text File  |  1994-11-15  |  5KB  |  196 lines

  1. on startMovie
  2.   global inFrame, nowFrame, currMM
  3.   global dialogOn, nextLT, prevLT
  4.   cursor 4
  5.   set prevLT = "FLWLT22"
  6.   set nextLT = "FLWLT24"
  7.   set dialogOn = FALSE
  8.   set currMM = "FLWMM"
  9.   set nowFrame = "ltfin950000°°°"
  10.   set inFrame = ""
  11.   puppetsprite 9, TRUE
  12.   puppetSprite 11, TRUE
  13.   puppetSprite 12, TRUE
  14.   set the immediate of sprite 11 to TRUE
  15.   set the immediate of sprite 12 to TRUE
  16.   puppetSprite 20, TRUE
  17.   puppetSprite 21, TRUE
  18.   puppetSprite 22, TRUE
  19.   puppetSprite 23, TRUE
  20.   set the immediate of sprite 20 to TRUE
  21.   set the immediate of sprite 23 to TRUE
  22. end startMovie
  23.  
  24. on stepMovie
  25.   global nowFrame,currFrame
  26.   if nowFrame <> currFrame then
  27.     seeAlsoList
  28.     set currFrame = nowFrame
  29.   end if
  30. end stepMovie
  31.  
  32. on stopMovie
  33.   put " " into field "seeAlsoText"
  34.   set the castNum of sprite 21 to 1050
  35.   puppetSprite 21, FALSE
  36.   updateStage
  37. end stopMovie
  38.  
  39. on saveLocals
  40.   global lastFrame, nowFrame, lastMovie, origLocH
  41.   set lastMovie = the movie
  42.   set lastFrame = nowFrame
  43. end saveLocals
  44.  
  45. on ltForStep
  46.   global inFrame, nextLT
  47.   puppetSprite 4, FALSE
  48.   set inFrame = ""
  49.   if the frame = 10 then
  50.     
  51.     go to frame "ltfin952001°°°" of movie nextLT
  52.   else
  53.     go to marker (+1)
  54.     updateStage
  55.   end if
  56. end ltForStep
  57.  
  58. on ltBackStep
  59.   global inFrame, prevLT
  60.   puppetSprite 4, FALSE
  61.   set inFrame = ""
  62.   if the frame < 5 then
  63.     
  64.     go to frame "ltfin948005°°°" of movie prevLT
  65.   else
  66.     go to marker (-1)
  67.     updateStage
  68.   end if
  69. end ltBackStep
  70.  
  71. on checkNav
  72.   if rollover(12) then
  73.     set the castNum of sprite 12 to the number of cast "leftUp"
  74.   else
  75.     set the castNum of sprite 12 to the number of cast "leftRt"
  76.   end if
  77.   
  78.   if rollover(11) then
  79.     set the castNum of sprite 11 to the number of cast "rightUp"
  80.   else
  81.     set the castNum of sprite 11 to the number of cast "rightRt"
  82.   end if
  83.   updateStage
  84.   cursor -1
  85. end checkNav
  86.  
  87. on buttonState
  88.   global FrankNav, bflag, nowFrame, noTx, dialogOn
  89.   
  90.   if dialogOn = FALSE then
  91.     
  92.     --sticking local call here for convenience
  93.     worldLite
  94.     if the mouseV > 200 or bFlag = TRUE then
  95.       set bFlag = FALSE
  96.       doState
  97.     end if
  98.   end if
  99. end buttonState
  100.  
  101. on scrollRight
  102.   if the clickon = 11 then
  103.     sound stop 1
  104.     startTimer
  105.     repeat while the timer < 2
  106.       set the castNum of sprite 11 to the number of cast "rightDn"
  107.       updateStage
  108.     end repeat
  109.     timeRight
  110.     flush
  111.   end if   
  112. end scrollRight
  113.  
  114. on scrollLeft
  115.   if the clickon = 12 then
  116.     sound stop 1
  117.     startTimer
  118.     repeat while the timer < 2
  119.       set the castNum of sprite 12 to the number of cast "leftDn"
  120.       updateStage
  121.     end repeat
  122.     timeLeft
  123.     flush
  124.   end if  
  125. end scrollLeft
  126.  
  127. on timeLeft
  128.   global prevLt
  129.   go to movie prevLT
  130. end timeLeft
  131.  
  132. on timeRight
  133.   global nextLt
  134.   go to movie nextLT
  135. end timeRight
  136.  
  137. on worldLite
  138.   global currWorld, realWorld
  139.   if rollover(9) then
  140.     set the castNum of sprite 9 to 22
  141.   else
  142.     set the castNum of sprite 9 to 2
  143.   end if
  144. end worldLite
  145.  
  146. on jumpVLB23
  147.   global dialogOn
  148.   if dialogOn = FALSE then
  149.     sound stop 1
  150.     if the clickOn < 7 or the clickOn > 23 then
  151.       if the mouseH > 168 and the mouseH < 313 and the mouseV > 154 and the mouseV < 225 then
  152.         puppetSprite 4, FALSE
  153.         go to frame "ltfin950001°°°"
  154.       else if the mouseH > 259 and the mouseH < 415 and the mouseV > 75 and the mouseV < 148 then
  155.         puppetSprite 4, FALSE
  156.         go to frame "ltfin950002°°°"
  157.       else if the mouseH > 418 and the mouseH < 502 and the mouseV > 103 and the mouseV < 225 then
  158.         puppetSprite 4, FALSE
  159.         go to frame "ltfin950003°°°"
  160.       else if the mouseH > 529 and the mouseH < 618 and the mouseV > 75 and the mouseV < 208 then
  161.         puppetSprite 4, FALSE
  162.         go to frame "ltfin950004°°°"
  163.       else 
  164.         nothing
  165.       end if
  166.     end if
  167.   end if
  168.   flush
  169. end jumpVLB23
  170.  
  171. on rollVLB23
  172.   if the mouseH > 168 and the mouseH < 313 and the mouseV > 154 and the mouseV < 225 then
  173.     set the castNum of sprite 4 to 11
  174.     if the mouseDown then 
  175.       set the castNum of sprite 4 to 4
  176.     end if
  177.   else if the mouseH > 259 and the mouseH < 415 and the mouseV > 75 and the mouseV < 148 then
  178.     set the castNum of sprite 4 to 12
  179.     if the mouseDown then 
  180.       set the castNum of sprite 4 to 4
  181.     end if
  182.   else if the mouseH > 418 and the mouseH < 502 and the mouseV > 103 and the mouseV < 225 then
  183.     set the castNum of sprite 4 to 13
  184.     if the mouseDown then 
  185.       set the castNum of sprite 4 to 4
  186.     end if
  187.   else if the mouseH > 529 and the mouseH < 618 and the mouseV > 75 and the mouseV < 208 then
  188.     set the castNum of sprite 4 to 14
  189.     if the mouseDown then 
  190.       set the castNum of sprite 4 to 4
  191.     end if
  192.   else 
  193.     set the castNum of sprite 4 to 4
  194.   end if
  195.   updateStage
  196. end rollVLB23